/**
 * 
 */
package fecat.ui.frame;

import javax.swing.JComponent;
import javax.swing.JTable;

import fecat.services.resource.ResourceService;
import fecat.ui.contextpanel.order.NewOrderTable;
import fecat.ui.contextpanel.order.OrderStatusTable;
import fecat.ui.contextpanel.position.OpenPositionTable;

/**
 * @author ibm
 *
 */
public class NewOpenPositionFrame  extends BaseFrame{
	public NewOpenPositionFrame(String name) {
		super(name);
	}
	public JComponent createChildComponent(){
		desktop=new NewOrderTable();
		return desktop;
	}
	public void updateText() {
		String title=ResourceService.getString("Frame.NewOrder.Title");
		this.setTitle(title);
		String tabTitle=ResourceService.getString("Frame.NewOrder.TabTitle");
		this.setTabTitle(tabTitle);
	}
}
